package com.test;

import org.junit.Test;

import com.xj.admin.base.user.entity.TbUser;
import com.xj.admin.util.EndecryptUtils;

/**
 * <p>
 * TODO class
 * </p>
 *
 * @author yuxiaobin
 * @date 2017/8/11
 */
public class UserAdd {

    @Test
    public void addUser(){
        TbUser user = EndecryptUtils.md5Password("admin", "123456", 2);
        System.out.println(user.getPassword());
        System.out.println(user.getCredentialsSalt());
    }
}
